// 入口文件
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

//导入vue-resource

import VueResource from 'vue-resource'
Vue.use(VueResource)

// 按需到付组件
import {Header,Swipe,SwipeItem} from 'mint-ui'
Vue.component(Header.name,Header)
Vue.component(Swipe.name,Swipe)
Vue.component(SwipeItem.name,SwipeItem)

import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'

// 导入自己的router模块
import router from './router.js'

// 导入APP跟组件

import app from './App.vue'

var vm=new Vue({
    el:"#app",
    render:c=>c(app),
    router
})